package cn.tedu.egmybatis6.conmon.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StataCode {
    OPERATION_SUCCESS(10100,"操作成功"),
    OPERATION_FAILED(10200,"操作失败"),
    USERNAME_PASSWORD_ERROR(10300,"用户名或密码错误"),
    NOT_LOGIN(10400,"用户未登录"),
    VALIDATED_ERROR(10500,"参数校验失败"),
    THROWABLE_ERROR(10666,"未知异常");
    private Integer stata;
    private String message;
}
